We want to extend the data model with additional keys, actions,
and properties. We need keys to be a map instead of a plain array
of strings.
Adapt the script to dump data in this new format, so it generates
a decent base to manually complete the work.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2278>
reverse=True):
row = []
for key in sorted(v, key=lambda x: x):
- row.append(key[1])
+ row.append({ 'strings': key[1] })
rows.append(row)
return rows